﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL.Linq;
using BLL;

namespace DAL
{
    public interface ISYS_USER_Dao:IDao<SYS_USER, int>
    {
        bool UpdatePassword(int userID, string oldPass, string newPass);
        bool Insert_Sys_Users(string userCode, string userName, string userPass, bool IsUse);
        bool Update_Sys_Users(int userID, string userCode, string userName, string userPass, bool isUse);
        bool Delete_Sys_Users(int userID);
        IList<SYS_USER> GetAll_Users();
        SYS_USER GetLogin(string userCode, string userPass);

    }
}
